#ifndef FINDTEXTDIALOG_H
#define FINDTEXTDIALOG_H

#include <QtCore>
#include <QtGui>
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#include <QtWidgets>
#endif

namespace Ui {
class FindTextDialog1;
class FindTextDialog2;
}

class FindTextDialog : public QDialog
{
    Q_OBJECT
public:
    explicit FindTextDialog(QWidget *parent, QPlainTextEdit *plainText);
    ~FindTextDialog();

private slots:
    void on_btnReplace_clicked();
    void on_btnFind_clicked();
    void on_btnReplaceAll_clicked();

private:
    Ui::FindTextDialog1 *ui;
    QPlainTextEdit *plainText_;
};

#endif // FINDTEXTDIALOG_H
